﻿using System;

namespace YJKRevitDimension.ArrowDimension
{
	public class ArrowDimData
	{
		public string StrArrowType { get; set; }

		public string StrFontType { get; set; }

		public string StrAlignStyle { get; set; }

		public string StrLineUpText { get; set; }

		public string StrLineDownText { get; set; }

		public string StrTextHeight { get; set; }

		public string StrTextWidth { get; set; }

		public string StrArrowAngle { get; set; }

		public string StrDistance { get; set; }

		public bool BRight { get; set; }

		public ArrowDimData(string strArrowType, string strFontType = "仿宋", string strAlignStyle = "", string strLineUpText = "", string strLineDownText = "", string strTextHeight = "3.0", string strTextWidth = "0.7", string strArrowAngle = "15", string strDistance = "1", bool bRight = true)
		{
			this.StrArrowType = strArrowType;
			this.StrFontType = strFontType;
			this.StrAlignStyle = strAlignStyle;
			this.StrLineUpText = strLineUpText;
			this.StrLineDownText = strLineDownText;
			this.StrTextHeight = strTextHeight;
			this.StrTextWidth = strTextWidth;
			this.StrArrowAngle = strArrowAngle;
			this.StrDistance = strDistance;
			this.BRight = bRight;
		}

		public ArrowDimData()
		{
			this.StrArrowType = string.Empty;
			this.StrFontType = string.Empty;
			this.StrAlignStyle = string.Empty;
			this.StrLineUpText = string.Empty;
			this.StrLineDownText = string.Empty;
			this.StrTextHeight = string.Empty;
			this.StrTextWidth = string.Empty;
			this.StrArrowAngle = string.Empty;
			this.StrDistance = string.Empty;
			this.BRight = true;
		}
	}
}
